package com.twotwoshop.domin.chat.vos;

import com.twotwoshop.commom.chat.MessageType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 消息响应对象
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MessageResponse {

    private MessageType type;
    private Object data;
    private boolean success;
    private long timestamp;
}